#pragma once
#include "RequestHandle.h"
#include "UploadThread.h"

class FileUpRequest :
	public RequestHandle
{
public:
	FileUpRequest(void);
	~FileUpRequest(void);
	void SendSTOR(void);
	void SetFilePointer(FILE *file) { m_pFile = file; }
	void SetProgressBar(CProgressCtrl *pProCtrl);

private:
	virtual int ResponseAnalysis();
	UploadThread *m_pkUploadThread;
	FILE *m_pFile;
	CProgressCtrl *m_pkProgressCtrl;

	struct m_kFileUpenum
	{
		enum
		{
			NONE = 0,
			TYPE,
			PASV,
			STOR
		};
	};
};

